level

abstract fun level(): ZoomLevel

Returns the zoom level associated with the domain of the currently loaded web page.

Return

zoom level of the domain of the currently loaded web page. If the web page is not loaded, returns the default value

Throws

when Browser of the current Zoom is closed


abstract fun level(zoomLevel: ZoomLevel)

Updates the zoom level for the domain of the currently loaded web page.

Parameters

zoomLevel

a new zoom level

Throws

when Browser of the current Zoom is closed